github.com/gotd/td/telegram.Client.log (field)
29 uses
github.com/gotd/td/telegram (current package)
cdn_conn_dead.go#L17: c.log.Warn(context.Background(), "Resetting cached CDN keys after fingerprint miss",
cdn_conn_dead.go#L48: c.log.Warn(context.Background(), "Dropping stored CDN session key after PFS key reset request",
cfg.go#L38: c.log.Warn(ctx, "Got error on config update", log.Error(err))
client.go#L131: log log.Helper // immutable
client.go#L178: log: log.For(opt.Logger),
client.go#L213: client.log = client.log.With(log.String("v", v))
conn_builder.go#L101: opts.Logger = c.log.Named("conn").With(
connect.go#L58: c.log.Warn(ctx, "Got error on self", log.Error(err))
connect.go#L73: c.log.Info(ctx, "Got self", log.String("username", self.Username))
connect.go#L83: c.log.Debug(ctx, "Restart triggered")
connect.go#L124: c.log.Info(context.Background(), "Restarting connection", log.Error(err), log.Duration("backoff", timeout))
connect.go#L136: c.log.Debug(context.Background(), "Ready")
connect.go#L171: c.log.Info(ctx, "Starting")
connect.go#L172: defer c.log.Info(context.Background(), "Closed")
connect.go#L226: c.log.Debug(ctx, "Callback returned, stopping")
handle_updates.go#L44: c.log.Warn(c.ctx, "Ignoring update", log.String("update_type", fmt.Sprintf("%T", u)))
invoke.go#L63: logger := c.log.With(
invoke.go#L108: c.log.Debug(ctx, "Primary connection is dead, waiting for new connection to retry",
migrate_to_dc.go#L12: c.log.Debug(ctx, "Triggering restart")
migrate_to_dc.go#L19: c.log.Debug(ctx, "Restart initialized")
migrate_to_dc.go#L26: c.log.Info(ctx, "Restart ensured")
pfs.go#L21: c.log.Warn(context.Background(), "Dropping stored primary session key after PFS key reset request",
pfs.go#L42: c.log.Warn(context.Background(), "Dropping stored DC session key after PFS key reset request",
pool.go#L34: Logger: c.log.Named("pool").With(log.Int("dc_id", dc)).Logger(),
pool.go#L75: c.log.Debug(ctx, "Creating pool",
pool.go#L142: options.Logger = c.log.Named("conn").With(
session.go#L47: c.log.Info(ctx, "Connection restored from state",
session.go#L95: c.log.Debug(c.ctx, "Data saved",
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |